package com.njxzc.igo.service;

import java.util.List;
import java.util.Map;

import com.njxzc.igo.model.ShoppingCart;

public interface ShoppingCartService {
	public void addGoodsInCart(String username,long productId,int amount);
	
	
	public List<ShoppingCart> loadmyCart(String username);
	
	
	public Map GroupBySales(List<ShoppingCart> shoppingcart);
	
	public void ModifyShoppingCartById(long productId,long userId,int amount);
	
	
	public void saveUserShoppingCart(Map map);
	
	
	public void deleteInShoppingCart(String shoppingcardId);
	
	
	public void deleteChoosenItems(List idList);
			
	public List<ShoppingCart> loadSelectedShoppingCart(List shoppingCartIds);
	
	public void RemoveFromShoppingCart(String []orderShoppingCartIds);
	
	
	public int CountShoppingCart(Map map);
}
